//
//  HeaderFile.h
//  JackDeve
//
//  Created by apple on 17/5/9.
//  Copyright © 2017年 wkq. All rights reserved.
//

#ifndef HeaderFile_h
#define HeaderFile_h

#define HTTP_NEWURL @"http://daohe.apic.1by1.cc/"


//获取屏幕 宽度、高度
#define SCREEN_BOUNDS          [UIScreen mainScreen].bounds
#define SCREEN_WIDTH           [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT          [UIScreen mainScreen].bounds.size.height

//系统版本
#define SYTEM_VERSION [[UIDevice currentDevice].systemVersion floatValue]

//接口服务器
#define ROOT_URL @"http://daohe.apic.1by1.cc"

//发送手机验证码注册
#define Send1 @"http://daohe.apic.1by1.cc/passport/send_sms_code?mobile=%@&type_id=1"
//密码找回
#define Send2 @"http://daohe.apic.1by1.cc/passport/send_sms_code?mobile=%@&type_id=2"
//用户注册

#define registe @"http://daohe.apic.1by1.cc/passport/register?mobile=%@&password=%@&sms_code=%@"


//用户登录
#define denglu @"http://daohe.apic.1by1.cc/passport/login?mobile=%@&password=%@"
//用户名修改
#define Xiugai @"http://daohe.apic.1by1.cc/user/change_user_name?token=%@&user_name=%@"

//个人信息
#define geren @"http://daohe.apic.1by1.cc/user/info?token=%@"

//退出登录
#define Out  @"http://daohe.apic.1by1.cc/passport/logout?"

//修改密码
#define Change  @"http://daohe.apic.1by1.cc/user/change_password?token=%@&old_password=%@&new_password=%@"

//忘记密码
#define Forget  @"http://daohe.apic.1by1.cc/passport/find_password?mobile=%@&password=%@&sms_code=%@"

//收货地址
#define ShouHua  @"http://daohe.apic.1by1.cc/address/index?token=%@"
/** 用户头像*/
#define AVATARPICTURE_URL @"http://daohe.apic.1by1.cc/user/change_avatar?"
#define DeleteAddress @"http://daohe.apic.1by1.cc/address/delete?token=%@&address_id=%@"


#endif /* HeaderFile_h */
